import React ,{Component} from 'react';
import {render} from 'react-dom';
import image from '../../image/u227.png';
import './modelDialog.css';


/**
 * 模态框
 */
class ModelDialog extends Component{

    constructor(props) {
        super(props);
    
    }


    render(){
        return(
         <div className='modelDialogWapper' style={{display:this.props.modelShow?'':'none'}}>
             <div>
                <div className='right'>
                    <span href='#' onClick={() =>this.props.handleClick()}>x</span>
                </div>
                 <div className='left'>扫描二维码，关注微信公众账号</div> 
             </div>
             <img src={image}/>
         </div>
        )
    }


}


export default ModelDialog;